package com.gz.university.crm.service;

import java.util.List;

import com.gz.university.crm.entity.SysUser;
import com.gz.university.crm.form.SysUserForm;

public interface ISysUserService {
	public static final String SERVICE_NAME = "com.gz.university.crm.service.impl.SysUserServiceImpl";

	/*
	 * boolean isExistSysUserByNameAndPassword(String name, String password);
	 */
	SysUser findSysUserByNameAndPassword(String name, String password);
    /**
     * 保存SysUser
     * @param sysUser
     */
	void saveSysUser(SysUser sysUser);
	/**
	 * 根据页面的条件查询
	 * @param sysUserForm
	 * @return
	 */
	List<SysUser> findSysUserByConditions(SysUserForm sysUserForm);
	/**
	 * 通过ID批量删除用户信息
	 * @param idsIntegers
	 */
	void deleteSysUsersByIds(Integer[] idsIntegers);
	/**
	 * 批量更新用户的状态
	 * @param ids
	 */
	void updateSysUserStatus(Integer[] ids);
	/**
	 * 批量停用系统用户
	 * @param ids
	 */
	void updateStatusDisable(Integer[] ids);
	/**
	 * 根据
	 * @param id
	 * @return
	 */
	SysUser findSysUserById(Integer id);
	/**
	 *修改用户信息
	 * @param sysUser
	 */
	void updateSysUser(SysUser sysUser);
}
